<template>
 <div v-if="loadingFlag" class="loading">
   <van-loading type="spinner" color="#01167b" >奋力加载中...</van-loading>
   </div>
</template>

<script setup>
defineProps({
  loadingFlag: Boolean
});
const goback = () => {
  history.go(-1);
};
</script>

<style lang="less" scoped>
.loading {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3e3fd;
    position: fixed;
    z-index: 99999;
    top: 0;
    overflow: hidden;
}

</style>
